package com.gdut.Demo1;

public class PhoneTest {
    public static void main(String[] args) {
        Phone p = new Phone();
        p.setBrand("小米");
        String[] apps = new String[10];
        apps[0] = "Oxygen Not Included";
        apps[1] = "QQ";
        apps[2] = "Terraria";
        apps[3] = "抖音";
        apps[4] = "Animal Well";
        apps[5] = "A Dance of Fire and Ice";
        apps[6] = "微信";
        p.setApps(apps);
        p.installApp(apps);
        p.playGame(apps[4]);
    }
}
